# a = int(input("请输入你的成绩："))
#
# # if a>90:
# #     print("优秀")
# # elif a> 60:
# #     print("合格")
# # else:
# #     print("不及格")
#
#
# a = 0
# while a < 10:
#     a+=1
#     print(a)
#     if a == 5:
#         continue
#     if a == 6:
#         break
#
# print(f'结束了{a}')
#
#
# name = 'xiao'
# print(f'name{name}')


#
# for i in range(10):
#     print("我错了")
#
# print("下次还敢")
#
# arr =[1,2,3,4,5,6]
#
# for i in arr:
#     print(i)
#
# a = {'a':10,'b':12}
# print(a)
# b = a.items()
# print(b)
# print(f"000 {a['a']}")
# for key,value in a.items():
#     print(key,value)
#
#
# for i in a.items():
#     name = i
#     print(name[0])
#
#
# # 空集合
# arr = set()

#
# strName = "my name is xxx"
# # 分隔
# print(strName.split(" "))
# # 替换
# print(strName.replace('xxx','小'))
#
# # 格式化
# str = '-'.join(strName.split(" "))
# print(str)
# # 第一个字母转换为大写
# print(strName.capitalize())
# # 字符串每个单词的首字母转为大写
# print(strName.title())
# # 根据下标取值
# print(strName[0])


# num = [1,3,5,7,9]
# num.append(10)
# print(num)
#
# num.insert(0,-1)
#
# print(num)
#
# num.pop(0)
#
# print(num)
#
# num.remove(10)
#
# print(num)

# 函数
# def day():
#     print("洗脸")
#     print("刷牙")
#     print("睡觉")
#
# # 调用
# for i in range(3):
#     print(day())


# def isDouble(n:int ):
#     return n % 2 == 0
# num = input("亲输入：")
# print(num)
# num = 10
#
# if isDouble(num):
#     print("偶数")
# else:
#     print('奇数')

# # 全局变量
# num = 10
# def day():
#     global num
#     print(f"{num}天")
#     num+=1
#     print(f"{num}天")
# day();


# def main():
#     for i in range(10):
#         a()
#
# def a():
#     pass
#
# if __name__ == '__main__':
#     main()

# def g():
#   return  1,2
# # 返回的是个元组
# a = g()
# print(a)
# # 元组的拆包
# c,d = g()
# print(c,d)
# 不定长度形参 *.args  **kwargs
# def a(n,*args,b=100,**kwargs):
#     for i in args:
#         print(i)
#     print(b)
# a(1,2,1,5,ns=10,nt=50)



















